﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebApplication1.localhost;
using WebApplication1.localhost1;

namespace WebApplication1
{
    public partial class _Default : System.Web.UI.Page
    {

        protected void Button2_Click(object sender, EventArgs e)
        {
            WsdlDiscovery service2 = new WsdlDiscovery();
            string[] foo;
            string bar = "";
            TextBox2.Text = "";
            
            foo = service2.GetWsdlSearchResponse(TextBox3.Text);

            for (int i = 0; i < foo.Length; i++)
            {
                bar += foo[i];
                bar += Environment.NewLine;
            }

            TextBox2.Text = bar;
        }
    }
}
